home *** CD-ROM | disk | FTP | other *** search
- 2/1/91
-
- Richard Gerber, who is in the Physics Department at the University
- of Illinois, has ported much of HDF to an Amiga, and is sharing
- with us the changes tht he had to make. He used HDF 3.1 release 2.
-
- In addition to the files here, you will need to
- copy the following files from the HDF/src directory:
-
- df.c
- dfan.c
- dfcomp.c
- dfgroup.c
- dfkit.c
- dfp.c
-
- Everything in this directory, including the rest of the README file,
- is from Richard. Thank you, Richard.
-
- ============================================================
-
- This is my most recent effort on building the HDF library on my
- A2000HD using SAS/C 5.10a. I was having a problem with SAS/C 5.10
- converting all floats to doubles when making calls to the library
- functions. The SAS patch to 5.10a fixed this problem, but requires
- the use of function prototypes.
- So, I typed up a list of prototypes for most of the HDF library
- functions. These are in the file dfproto.h. I had to change how
- other include files called yet other include files, etc.
-
- This directory contains the source for the code I am currently using.
- As far as I can tell, everything works fine. I transfer HDF files
- written on the Cray-2 to my Amiga and read them with no problems.
-
- Manx C users: I have heard that the original NCSA source compiles fine
- with your compiler (Lucky you!). So just use the original source.
-
-
-
- To build the library I:
-
- (1) lc -b0 -ci -ca -fi -dSUN -dFUNC_CONV file.c
-
- on all the source files.
-
- These mean:
- -b0 large data model
- -ca full ANSI compatibility
- -fi use Amiga IEEE math libraries
- -ci no multiple includes
-
-
- (2) oml HDF.lib A file.o
-
- on all the object files that result from doing (1) above.
-
- Suggestions/comments etc.:
- gerber@rigel.astro.uiuc.edu
- u12696@u2.ncsa.uiuc.edu
-
-